home *** CD-ROM | disk | FTP | other *** search
- Path: malgudi.oar.net!infinet!bgardner
- From: bgardner@infinet.com (Brian W. Gardner)
- Newsgroups: comp.lang.c++
- Subject: [Q] on linking error
- Date: 5 Jan 1996 19:58:07 GMT
- Organization: InfiNet
- Message-ID: <4cjvsf$r51@horus.infinet.com>
- NNTP-Posting-Host: rigel.infinet.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- [ Article crossposted from comp.unix.programmer ]
- [ Author was Brian W. Gardner ]
- [ Posted on 5 Jan 1996 19:56:51 GMT ]
-
- I am having a problem with linking code that uses a third party library
- (Rogue Wave dbtools.h++). I get a linking error as follows:
-
- collect2: ld returned 1 exit status
- /bin/ld: Unsatisfied symbols:
- __builtin_va_start (code)
- gmake: *** [bin/testrw] Error 1
-
- My environment is as follows:
- OS = HP-UX 9.0.4
- compiler = g++ 2.7.2
- linker = HP linker (OS supplied)
-
- The symbol __builtin_va_start appears in /usr/include/varargs.h, but I am
- unable to determine where a vararg call is being made, or what library
- I might include to resolve the call.
-
- /* from varargs.h ****************************/
- #ifdef __cplusplus
- extern "C" {
- void __builtin_va_start(va_list, ...);
- }
- #define va_start(__list,__parmN) (__list=0,__builtin_va_start(__list,&__parmN))
- #else /* not __cplusplus */
- #define va_start(__list,__parmN) __builtin_va_start (__list, &__parmN)
- #endif /* __cplusplus */
-
- As an aside, we have had tremendous difficulty with the HP linker as
- opposed to other OSs (we port to about 8 flavors of UNIX). Are there
- any alternatives for this?
-
- If anyone has any ideas, please let me know by posting to this group,
- or (more reliably) email at the address(es) below.
-
- Thanks!
-
-
- --
- Brian W. Gardner "Captain, I protest; I am not a
- 495 Park Blvd. merry man!" - Lt. Worf
- Worthington, OH 43085
- bgardner@infinet.com (home) bgardner@hublink.com (office)
-
- --
- Brian W. Gardner "Captain, I protest; I am not a
- 495 Park Blvd. merry man!" - Lt. Worf
- Worthington, OH 43085
- bgardner@infinet.com (home) bgardner@hublink.com (office)
-